export default (apiNeeded,apiPermission)=>{
    let index=apiPermission.indexOf(apiNeeded);
    if(index>-1)
    return false;
    return true;
}